package borderPatrol.Calculators;

public class BorderPatrolTreeUpdater extends TreeUpdater {
	
	public BorderPatrolTreeUpdater() {
		super(new BPProbabilityCalculator(), new BPValueCalculator(), new BPStrategyCalculator());
	}

	@Override
	public void updateTree(int iterationCount) {
		
		for (int i = 1; i <= iterationCount; i++) {
			probabilityCalculator.updateProbabilities(i);
			valueCalculator.updateValues(i);
			strategyCalculator.updateStrategy(i);
		}
		
	}



}
